home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / system / ffg202.zip / DEMO_BAT.ZIP / RUNATTRB.BAT < prev    next >
DOS Batch File  |  1995-04-01  |  508b  |  13 lines

  1. @echo off
  2. echo Here is a demonstration of FFG's ability to execute commands for each
  3. echo found file using the '/e' option.  In this demo FFG will search for hidden
  4. echo files and for each one found will run the DOS ATTRIB command to show the
  5. echo file's attributes.  Of course, each found file should show the hidden
  6. echo attribute set.
  7. echo.
  8. call presskey
  9. ::  Note that double %%'s are required because the DOS batch file interpreter
  10. ::  removes one of them.
  11. echo on
  12. ffg *:* /ah /eATTRIB%%_%%n
  13.